export function queryParams(): any {
    const obj = {};
    location.href
        ?.split('?')[1]
        ?.split('&')
        ?.map((item) => {
            return item.split('=');
        })
        ?.map((item) => {
            obj[item[0]] = item[1];
        });

    return obj;
}